package com.example.delivery.service;

import com.example.delivery.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author huber
* @description 针对表【user】的数据库操作Service
* @createDate 2025-03-18 13:29:36
*/
public interface UserService extends IService<User> {
    //用户注册
    boolean registerUser(User user);

    // 用户登录
    boolean loginUser(String username, String password);

    // 根据用户名查找用户
    User findByUserName(String username);

    //更新用户
    void updateUser(User user);

}
